SyncCallback

public interface SyncCallback<P, R> implements Callback

A common interface that all synchronous callbacks must extend.

Parameters

<P>

the type of callback parameters

<R>

the type of callback response

Inheritors

Functions

Link copied to clipboard
@CheckForNull()
public abstract R on(P params)
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.